package com.dd.cloud.user.req.admin;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.dd.cloud.common.annotate.validation.Desc;
import com.dd.cloud.common.annotate.validation.FixedValue;
import com.dd.cloud.common.annotate.validation.Name;
import com.dd.cloud.common.constants.RegularConstants;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 设置基础设置内容
 * </p>
 *
 * @author czg
 * @since 2023-06-9
 */
@Data
public class AddOrUpdateResourceSetReq implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 有id修改, 无id添加
     */
    private Integer id;

    /**
     * 标题
     */
    @NotBlank(message = "标题不能为空")
    private String title;

    /**
     * 内容
     */
    @NotBlank(message = "内容不能为空")
    private String content;

    /**
     * 备注
     */
    @Desc(begin = "备注", required = false)
    private String remarks;

    /**
     * 类型
     */
    private Integer type;


    /**
     * 链接
     */
    private String url;

    /**
     * 状态
     */
    private Integer status;


}
